/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cr.co.tse.padronelectoral.win;

import java.awt.Graphics;
import java.awt.Panel;
import java.awt.image.BufferedImage;

/**
 * Splash Panel
 * @author jsanca
 */
public class SplashPanel extends Panel {

    private BufferedImage  image;

    public SplashPanel(BufferedImage  image) {

        this.image = image;
    } // SplashPanel.

    

    public void paint(Graphics g) {
        g.drawImage(this.image, 0, 0, null);
    } // paint.

} // E:O:F:SplashPanel.
